<%
	var year 	= fromDate.getFullYear(),
		month 	= fromDate.getMonth(),
		date 	= fromDate.getDate()

	
	var dy, dm, dd;

	if(selectedDate) {
		dy 	= selectedDate.getFullYear(),
		dm 	= selectedDate.getMonth(),
		dd 	= selectedDate.getDate()
	}

	var isDefault;

	var tmp, day, y, m, d;

	var days = ['周日', '周一', '周二', '周三', '周四', '周五', '周六'];

	for(var i = 0; i < 100; i++) {
		tmp = new Date(year, month, date + i);

		y = tmp.getFullYear();
		m = tmp.getMonth();
		d = tmp.getDate();

		day = tmp.getDay();

		if( y === dy && m === dm && d === dd ) {
			isDefault = 'default';
		} else {
			isDefault = '';
		}
%>
	<li data-value="<%=y + '-' + m + '-' + d%>" <%=isDefault||''%>><%=m + 1%>月<%=d%>日 <%=days[day]%></li>
<%}%>